package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;


/**
 * 工艺绩效-流程明细对象 查询条件类
 *
 * @author qijian
 * @date 2024-09-26
 */

@Data
@ToString
@TableName("main_process_craft_dispatch_flow_detail")
public class ProcessCraftDispatchFlowDetailQuery {

    @WhereType(filed = "work_id")
    private Long workId;
    @WhereType(filed = "work_id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "main_id")
    private Long mainId;
    @WhereType(filed = "bom_id")
    private Long bomId;
    @WhereType(filed = "project_no")
    private String projectNo;
    @WhereType(filed = "manage_user_id")
    private Long manageUserId;
    @WhereType(filed = "manage_nick_name")
    private String manageNickName;
    @WhereType(filed = "manage_dept_id")
    private Long manageDeptId;
    @WhereType(filed = "manage_dept_name")
    private String manageDeptName;
    @WhereType(filed = "work_code")
    private String workCode;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "item_name")
    private String itemName;
    @WhereType(filed = "process_name")
    private String processName;
    @WhereType(filed = "work_type")
    private String workType;
    @WhereType(filed = "work_number")
    private Long workNumber;
    @WhereType(filed = "work_time")
    private BigDecimal workTime;
    @WhereType(filed = "work_cost")
    private BigDecimal workCost;
    @WhereType(filed = "work_start_time",type = WhereTypeEnum.BETWEEN)
    private Date[] workStartTime;
    @WhereType(filed = "work_end_time",type = WhereTypeEnum.BETWEEN)
    private Date[] workEndTime;
    @WhereType(filed = "status")
    private Long status;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "user_id")
    private Long userId;
    @WhereType(filed = "nick_name")
    private String nickName;
    @WhereType(filed = "times")
    private BigDecimal times;
    @WhereType(filed = "prices")
    private BigDecimal prices;
    @WhereType(filed = "dept_id")
    private Long deptId;
    @WhereType(filed = "dept_name")
    private String deptName;
    @WhereType(filed = "acutal_times")
    private BigDecimal acutalTimes;
    @WhereType(filed = "product_name")
    private String productName;
    @WhereType(filed = "create_id")
    private Long createId;



}
